/*
* Copyright (C) 2005-2013 University of Sydney
*
* Licensed under the GNU License, Version 3.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/gpl-3.0.txt
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/

/**
* brief description of file
*
* @author      Tom Murtagh
* @author      Kim Jackson
* @author      Ian Johnson   <ian.johnson@sydney.edu.au>
* @author      Stephen White   <stephen.white@sydney.edu.au>
* @author      Artem Osmakov   <artem.osmakov@sydney.edu.au>
* @copyright   (C) 2005-2013 University of Sydney
* @link        http://Sydney.edu.au/Heurist
* @version     3.1.0
* @license     http://www.gnu.org/licenses/gpl-3.0.txt GNU License 3.0
* @package     Heurist academic knowledge management system
* @subpackage  !!!subpackagename for file such as Administration, Search, Edit, Application, Library
*/
/*
 * filename, brief description, date of creation, by whom
 * @copyright (C) 2005-2010 University of Sydney Digital Innovation Unit.
 * @link: http://HeuristScholar.org
 * @license http://www.gnu.org/licenses/gpl-3.0.txt
 * @package Heurist academic knowledge management system
 * @todo
 */

/* printview.css
 * Copyright 2010 Ireneusz "Irek" Golka
 * http://heuristscholar.org/
 *
 * Global styles for Heurist import popups,
 */

/*
This file is part of Heurist.

Heurist is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

Heurist is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
body {
	padding:0;
	overflow: hidden;
}
 *|* {font-family: Helvetica, Arial, Verdana !important;font-size: 11px;}

H1, H2, H3 {color:#6A7C99;font-size: 12px;display: inline;}
h3 {color:#DC8501;font-size:12px;white-space:nowrap;display: block;}
H4 {color:#000;font-size: 11px}
H5 {color:#999;font-size: 10px}
P {color:#333333;font-size:11px;line-height:21px;}
A:link {color:#6A7C99;text-decoration: none;}
A:visited {color:#6A7C99;text-decoration: none;}
A:active {color:#6A7C99;text-decoration: none;}
A:hover {text-decoration: underline;}
img a:link {border: none;}
.banner {background-color:#FFF;border-collapse:collapse;color:#999999;height:12px;left:-3px;overflow:visible;padding:10px;position:fixed;right:0;top:-3px;z-index:1;}
.banner A, .banner A:hover, .banner input {text-decoration:none;color:#6A7C99 !important;}
.banner A:hover{text-decoration:underline;color:#6A7C99 !important;}
form {line-height:18px;margin: 3px;} */
h2 {text-transform:none;font-size: 12px;}
h3 {display: inline;}
#q {-moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px}

-container { overflow: auto; }
#results { bottom:25px;left:0;overflow:auto;position:absolute;right:0;top:50px;background-color:#FFF;padding: 0;}
#results .record * { vertical-align: middle; }
#results .record .id { padding-right: 2ex; float: left; text-align: right; width: 7ex;color:#666 }
#results .record .title { padding: 0 2ex; margin: 0;}

.radio *, #t, #t * { font-size: 11px; line-height: 15px;  vertical-align: middle; }

input { padding: 0; margin: 0; }

#help-div {position: absolute;height: 2ex; width: 100%;font-size: 1.6ex; padding: 1px;color:#7D9AAA}
#search {	text-align: left;	padding: 0;	border-bottom: 1px solid #999;	vertical-align: middle;	background-color: RGBA(0, 0, 0, 0.1);	position:absolute;	right:0;	top:0;	left:0px;height:50px}
#add_records_footer {position:absolute; right:0; left:0; bottom:0; height:20px;background-image: url("../images/backgrounds/banner_bg.png");background-position: bottom;background-repeat: repeat-x;padding: 0 1ex;}
#add_records_footer a img {vertical-align: text-bottom;}
.tab {background-color: #ECF1FB !important;} /* to match tabs in edit */
#rectype-val {left:2ex;position:relative;top:2.5ex;}
#mainbody {margin-top:2ex}
input[type="radio"] {vertical-align: text-top;}
.div-section {padding: 5px 0;}
.prompt {color:#999999;font-size:10px;font-weight:normal;}

/**** record view styles ****/

.detailType {width:90px;display: table-cell;color: #999999;vertical-align: top;padding: 0 10px 0 0;text-align: right;text-transform: none;}
.related-records .detailType {background-position:right center;background-repeat:no-repeat;color:#AAAAAA;display:table-cell;margin:10px;padding-bottom:0;padding-left:0;padding-top:0;text-align:right;text-transform:none;vertical-align:top;width:16px;}
.detail {display: table-cell;padding-left: 15px;text-transform: none;color: #000;}
.related-records .detail {color: #666;}
.detailRow {display: table;padding: 5px 0 5px 0;font-size: 11px;overflow: visible;}
.detailRowHeader {display: table;padding: 5px 0 5px 0;width:100%;border-top: 1px solid #7D9AAA;font-size: 11px;overflow: visible;text-align: left;color:#7D9AAA; text-transform: uppercase;}
.personPhoto {max-width: 150px;padding:0 16px 0 0;}
.thumbnail {float:right;margin-right: 10px;margin: 0 0 0 10px;}
div.thumbnail img{width:80px;border: 2px solid #FFF;-moz-box-shadow:0 2px 4px #BBB;-webkit-box-shadow:0 2px 4px #BBB;box-shadow:0 2px 4px #BBB;}
img {border:0 none;vertical-align:middle;}
#recID {float:left}
.headerRow #recID {float:right}
.HeaderRow {overflow:hidden; position: relative;padding:10px 0;display: block;text-align: left;}
#footer {position: absolute;top:0; right:0;left:0;}
.record.selected {display:block; padding: 10px;}
.record.result_thumb.selected {display:inline-block;}
.record.full_result_thumb.selected {display:inline-block;}
.record, .record.result_thumb {display:none; padding:0; text-align: left;}
.record, .record.full_result_thumb {display:none; padding:0; text-align: left;}
#style_select {background-color:rgba(255, 255, 255, 0.5);border:1px solid #AAAAAA;width:180px;}
#loading{position: absolute;top:0;bottom:0;left:0;right:0; background-image: url("../images/loading-animation-white.gif");background-position: 50% 50%;background-repeat: no-repeat;}
.loading{background-image: url("../images/loading-animation-white.gif");background-position: 50% 50%;background-repeat: no-repeat;height:100px}
.separator_row {height: 1px; border-bottom: 1px solid #A4B4CB;clear:both}
.rectype { color: #999999;vertical-align: top; }
.record-table {margin-bottom: 10px;}
record {display: block;margin:10px}
records {margin:20px}
hml {margin:10px}
#displayResult {bottom:0;left:0;overflow-y:auto;position:absolute;right:0;top:30px;text-align: center;}

/* related recodrs styles */
.show-related {background-image: url(../images/b_plus.png); background-position:0px 3px; height:16px; display:inline-block; clear: both;background-repeat: no-repeat;padding: 3px 20px;); cursor: pointer;color:#6A7C99 ;}
.show-related a {font-size: 10px;line-height: 10px;}
div.show-related:hover {text-decoration: underline;}
.related-records {margin:20px 0 0 0; height: 18px; overflow: hidden;padding: 5px;text-align: left;}
.related-records.show{height: auto; background: url("../images/backgrounds/thumbnail_bg_small.png") repeat-x scroll 0 bottom #F6F6F6 !important;}
.related-records div.related-records-list {display: none;}
.related-records.show div.related-records-list {background-color:#EEEEEE;display: block;}
.related-records.show div.show-related{background-image: url(../images/b_minus.png)}
.wait {background-image: url("../images/mini-loading.gif") !important;}
.relatedHeader {border-top:1px solid #FFF; font-weight:bold; color:#6A7C99; text-transform:uppercase; margin: 5px 0 5px 0; font-size:10px; padding:5px 0 0 0;}
#printingLink {display: inline;padding:0 3px;width:16px; height:16px; background-image:url("../images/tool_print.png"); background-repeat: no-repeat ;display: inline-block; vertical-align: top;margin-left: 10px;}
.annotationLink {display: inline;padding:0 3px;width:16px; height:16px; background-size: 16px 16px; background-position: center; background-image:url("../images/tool_annotation.png"); background-repeat: no-repeat ;display: inline-block; vertical-align: top;margin-left: 10px;}

/*  thumbnail view */
.result_thumb {-moz-border-radius:10px 10px 10px 10px;-moz-box-shadow:0 2px 4px #AAAAAA;border-radius:10px 10px 10px 10px;box-shadow:0 2px 4px #AAAAAA;-webkit-border-radius:10px 10px 10px 10px;-webkit-box-shadow:0 2px 4px #AAAAAA;background:url("../images/backgrounds/thumbnail_bg.png") repeat-x scroll 0 bottom #F6F6F6 !important;border:3px solid #FFFFFF;border-collapse:collapse;display:inline-block;height:140px;margin:7px;overflow:visible;padding:0;position:relative;width:140px;overflow:hidden;}
.result_thumb .recID {position: absolute;right:0;top:3px;font-size: 8px;}
.result_thumb .thumbnail, .result_thumb .rec_title, .result_thumb .icons, .links {left:2px;overflow:hidden;position:absolute;z-index:1;text-align: left;padding-left:0px;}
.result_thumb .icons {overflow: visible;}
.result_thumb .thumbnail, .result_thumb .thumbnail .no-thumbnail {-moz-background-size:100% auto;background-position:center center;background-repeat:no-repeat;height:75px;left:0;line-height:42px;margin:0;min-height:75px;position:absolute;right:0;text-align:center;top:13px;vertical-align:middle;}
.full_result_thumb{-moz-background-size:100% auto;-moz-border-radius:10px 10px 10px 10px;-moz-box-shadow:0 2px 4px #AAAAAA;-webkit-background-size:100% auto;-webkit-border-radius:10px 10px 10px 10px;-webkit-box-shadow:0 2px 4px #AAAAAA;background-size:100% auto;border-radius:10px 10px 10px 10px;box-shadow:0 2px 4px #AAAAAA;background-color:#999999;background-position:center center;background-repeat:no-repeat;border:3px solid #FFFFFF;border-collapse:collapse;height:140px;margin:7px 7px 70px 7px;overflow:visible;position:relative;width:140px;}
.full_result_thumb .rec_title {bottom:-70px;font-weight:bold;height:65px;overflow:hidden;position:absolute;text-align:center;width:100%;}
.full_result_thumb #recId {background:none repeat scroll 0 0 #FFFFFF;border-bottom:1px solid #DDDDDD;bottom:0;float:none;font-weight:normal;height:17px;padding-top:3px;position:absolute;width:100%;}
.result_thumb .thumbnail img, .result_thumb div.thumbnail img {-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border:medium none;bottom:0;left:0;margin:0;padding:0;position:absolute;top:-25%;width:100%;}
.result_thumb .thumbnail .no-thumbnail, .no-thumbnail {opacity:0.3;}
.result_thumb .rec_title {height:25px;line-height:12px;text-align:left;top:90px;color:#666;}
.result_thumb .rec_title a{line-height: 12px;text-decoration: none;}
.result_thumb .rec_title a:hover{text-decoration: underline;}
.result_thumb .unbookmarked {margin-bottom: 2px;}
.result_thumb .bookmarked {margin-bottom: 2px;}
.result_thumb .icons, .info_button, .done_button, .rec_links {bottom:0px;}
.result_thumb .icons img {vertical-align: text-bottom; margin-left: 0px;}
.result_thumb .icons input {vertical-align: text-bottom;}
.rec_type {-moz-border-radius:6px 6px 6px 6px;-webkit-border-radius:6px 6px 6px 6px;border-radius:6px 6px 6px 6px; background-color:RGBA(0,0,0,0.3);color:#FFFFFF;left:0;padding:0 3px;position:absolute;text-align:center;top:126px;width:134px;}
.greyType {color: #999999}
.note {display:block; color:#999;}
#displayResult div.annotatedDocument div.content {
	bottom: 0;
	left: 0;
	overflow-y: auto;
	padding: 10px;
	right: 0;
	text-align: left;
	top: 25px;;
}
.L0 {display:block !important}
div.annotatedDocument {display:block !important}
#errorMsg {
	background-color: #FFFFFF;
	height: 99%;
	text-align: center;
	vertical-align: middle;
	width: 100%;
}
#errorMsg span, .errorMsg span, div#errorMsg span{
	background-color: rgba(100, 100, 100, 0.6);
	background:-moz-linear-gradient(center top , rgba(100, 100, 100, 0.6), rgba(100, 100, 100, 0.9)) repeat scroll 0 0 transparent;
	background:-webkit-gradient(linear, left top, left bottom, from(rgba(100, 100, 100, 0.6)), to(rgba(100, 100, 100, 0.9)));
	border: 1px solid #999;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	padding:3px;
	font-size:14px;
	color:#FFF;
}


/* annotationss */
div.annotationList li {text-align:left; color:#666; padding:5px; list-style:none; display:inline-block; max-width:150px; vertical-align:top; border-right:1px solid #CCC;}
div.annotationList ul {padding:5px; display:none}
div.annotationList:hover ul {padding:5px; display:block}
div.annotationList {
	background-color: RGBA(237,245,255, 0.85);
	background-image: url("../images/heading_saved_search-hidden.png");
	background-position: 0 1px;
	background-repeat: no-repeat;
	padding: 5px 5px 5px 15px;
	text-align: left;
	position:relative;
	left:0;
	right:0;
	max-height:200px;
	overflow-y:auto;
	z-index:10;
	}
div.annotationList:hover {background-image: url("../images/heading_saved_search.png");}
div.annotationList H2{padding:5px}
.annotation {border-radius:5px; background-color:RGBA(153,204,255,0.2);padding:0 3px;}
.annotation.superscript, li .annotation {background-color:transparent}
.preview {
	background-color: rgba(0, 0, 0, 0.75);
	border: 1px solid #FFFFFF;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
	color: #EDEDED;
	left: -9999px;
	width: 200px;
	padding: 5px;
	position: absolute;
	top: 0;
	z-index: 999;
}
#buttonBar{
	display: inline;
	padding-right: 10px;
}
/* TEI specific styles */
lg {display:block;}
lg l {display:block; padding-left:20px}
